<?php

namespace Ue\ErpBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * OrderComment
 *
 * @ORM\Table(name="ue_order_comment", indexes={@ORM\Index(name="ue_order_comment_order_id_idx", columns={"order_id"})})
 * @ORM\Entity
 */
class OrderComment
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var string
     *
     * @ORM\Column(name="buyer_notes", type="string", length=200, nullable=true)
     */
    private $buyerNotes;

    /**
     * @var string
     *
     * @ORM\Column(name="seller_notes", type="string", length=200, nullable=true)
     */
    private $sellerNotes;

    /**
     * @var string
     *
     * @ORM\Column(name="send_notes", type="string", length=200, nullable=true)
     */
    private $sendNotes;

    /**
     * @var \Order
     *
     * @ORM\ManyToOne(targetEntity="Order")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="order_id", referencedColumnName="id")
     * })
     */
    private $order;



    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set buyerNotes
     *
     * @param string $buyerNotes
     * @return OrderComment
     */
    public function setBuyerNotes($buyerNotes)
    {
        $this->buyerNotes = $buyerNotes;

        return $this;
    }

    /**
     * Get buyerNotes
     *
     * @return string 
     */
    public function getBuyerNotes()
    {
        return $this->buyerNotes;
    }

    /**
     * Set sellerNotes
     *
     * @param string $sellerNotes
     * @return OrderComment
     */
    public function setSellerNotes($sellerNotes)
    {
        $this->sellerNotes = $sellerNotes;

        return $this;
    }

    /**
     * Get sellerNotes
     *
     * @return string 
     */
    public function getSellerNotes()
    {
        return $this->sellerNotes;
    }

    /**
     * Set sendNotes
     *
     * @param string $sendNotes
     * @return OrderComment
     */
    public function setSendNotes($sendNotes)
    {
        $this->sendNotes = $sendNotes;

        return $this;
    }

    /**
     * Get sendNotes
     *
     * @return string 
     */
    public function getSendNotes()
    {
        return $this->sendNotes;
    }

    /**
     * Set order
     *
     * @param \Ue\ErpBundle\Entity\Order $order
     * @return OrderComment
     */
    public function setOrder(\Ue\ErpBundle\Entity\Order $order = null)
    {
        $this->order = $order;

        return $this;
    }

    /**
     * Get order
     *
     * @return \Ue\ErpBundle\Entity\Order 
     */
    public function getOrder()
    {
        return $this->order;
    }
}
